<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * @author  Tran Van Thanh
 * @email   thanhtran@vietnambiz.com
 * @date    31.08.2011
 */

class Admin extends CI_Controller {
	
    var $data = array();
    
    function __construct()
    {
        parent::__construct();
        if(!isset($_SESSION['_admin'])) admin_url('login');
        $this->load->model(array('user_model'));        
        $this->data['act']	=	$this->router->class;
        $this->data['func']	=	$this->router->method;
    }
    
    function index()
    {
        die('Admin Default');
    }
}
